home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr11
/
pdox693.zip
/
TI478.ASC
< prev
next >
Wrap
Text File
|
1992-09-03
|
3KB
|
133 lines
PRODUCT : Paradox NUMBER : 478
VERSION : All
OS : DOS
DATE : February 24, 1989 PAGE : 1/2
TITLE : Changing Printer Characteristics in a Paradox Report
Paradox's report generator does not directly support attributes,
such as bold, underlining, or different fonts, in reports.
However, you can manipulate the printer to change to one of these
styles in the middle of a report. The following are two ways
this can be accomplished.
1. When in the report generator, place a calculated field
that holds the printer control string as well as the field
or string that you wish to affect. For instance, to set
compressed print for a report title, the calculated field
might be:
"\015" + "Sample Report Heading" + "\018"
^ ^
| |
Compressed On Compressed Off
On an IBM Graphics printer or compatible, this string will
print this heading in compressed print, and then change
the print back to regular print for printing the rest of
the report. The printer control codes are, of course,
specific to the individual printer and should be obtained
from the printer manual. Also, remember that a calculated
field in Paradox has a maximum length of 48 characters
2. You can also use the PAL TYPEIN Command to change printer
characteristics. To do this, while in the report
generator at the point where you wish the title to begin,
press <ALT-F10> to access the PAL menu and select
Miniscript. Then type:
TYPEIN "\015" + Sample Report Heading" + "\018"
This will print the heading in the same manner as the
first example. Keep in mind that the command line has a
maximum length of 51 characters. Be certain to always
restore the regular report attributes back to normal at
the end of the string you wish to emphasize, as with the
illustrative string, "\018".
Both of these methods may change the spacing of other data on the
line, so you'll need to insert and delete spaces as necessary.
You should print a "trial" report to test the new attributes.
PRODUCT : Paradox NUMBER : 478
VERSION : All
OS : DOS
DATE : February 24, 1989 PAGE : 2/2
TITLE : Changing Printer Characteristics in a Paradox Report
DISCLAIMER: You have the right to use this technical information
subject to the terms of the No-Nonsense License Statement that
you received with the Borland product to which this information
pertains.